package com.test;

import com.logtrace.annotation.LogTrace;

/**
 * Created by tandewei on 2017/2/16.
 */
public class Crab {
    @LogTrace
    public int legs(int type) {
        switch (type) {
            case 0:
                return 8;
            case 1:
                return 6;
            default:
                return 12;
        }
    }
}
